package com.ymy.spring.cloud.sentinel.core.degrade;

import org.springframework.stereotype.Component;

/**
 * @author Ringo
 * @date 2021/10/5 19:11
 */
@Component
public class FallbackHandler {

    public static String getUser(String id, Throwable t) {
        return "业务异常 cause:";
    }

}
